home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TeX 1995 July
/
TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO
/
tex-k
/
tex-k-archive.past
/
1995.02
/
000001_kb@cs.umb.edu_Wed Feb 1 01:51:20 1995.msg
< prev
next >
Wrap
Internet Message Format
|
1995-02-28
|
3KB
Received: from terminus.cs.umb.edu by cs.umb.edu with SMTP id AA29284
(5.65c/IDA-1.4.4 for <tex-k-exp@cs.umb.edu>); Wed, 1 Feb 1995 12:32:40 -0500
Received: by terminus.cs.umb.edu id AA26720
(5.65c/IDA-1.4.4 for tex-k); Wed, 1 Feb 1995 06:51:20 -0500
Date: Wed, 1 Feb 1995 06:51:20 -0500
From: "K. Berry" <kb@cs.umb.edu>
Message-Id: <199502011151.AA26720@terminus.cs.umb.edu>
To: tex-k@cs.umb.edu
Cc: exp109@physik.uni-kiel.d400.de
Subject: [exp109@physik.uni-kiel.d400.de: font-memory-management in xdvi]
Here's a feature to add to xdvi, if someone would like to work on it.
The idea, I guess, is to remove fonts not just by an LRU algorithm, but
by size. Seems reasonable.
If anyone's interested, let me know.
From: "A. Rohde" <exp109@physik.uni-kiel.d400.de>
To: Karl Berry <karl@cs.umb.edu>
Subject: font-memory-management in xdvi
Date: Fri, 27 Jan 1995 15:49:45 +0100
Dear Karl,
I have a non-standard problem with xdvi(k) pl18(f).
I produce sometimes *very* large postscript graphics or scanned b/w pictures
and convert them with Ghostscript and bitmapTofont for inclusion in TeX.
These 'fonts' are then much smaller than the original PS files. The problem
is, that xdvi does not free font memory, if the font isn't in use anymore
(in other words, several pages later).
I could convert the scanned images into Postscript, but these files become
*very* large, too. I don't know about any other procedure (o.k. there are
those emTeX specials..... ), to include bitmaps into TeX.
I have heard about including jpeg into PS-files, but jpeg is not a good
format to reproduce b/w graphs (and it's sloooooow).
I have already reported these fact to Paul Vojta. He was afraid, and told me
about other things to do first with xdvi.
I tried to have a look inside the code and saw, that there is already a
struture member for the time of the last access to a font. However,
I was not able to change the source, since it's very complicated.
Do you or one of your co-workers have some time to implement an algorithm
to check the amount of memory, which is used for fonts, and to remove fonts
from the memory, if this amount is larger than e.g. 1 or 2 MB?
I think, this would be a nice feature, since loading a TeX-font is incredibly
fast, compared with interpreting a PS-file. emTeX drivers don't have any
problems. O.K., fonts are device-dependent, but standard TeX fonts, are device
dependent, too, since dvips converts them into bitmaps and attaches them
at the front of the ps-file. It still works with dvips, if you use the
option -Z and if the document is too long (document numbering gets lost)
one can write a couple of small ps-files instead of one large.
Best regards,
Axel
--
-----------------------------------------------------------------------------
Dipl. Phys. Axel Rohde
e-mail: rohde@physik.uni-kiel.de
Institut fuer Experimentalphysik Christian Albrechts Universit"at Kiel
Olshausenstrasse 40-60 D-24098 Kiel
Tel: +49 - (0)431-880-3840 Fax: +49 - (0)431-880-3809
-----------------------------------------------------------------------------